/**
 * @Title: LocationBean.java
 * @Package: com.jason.fingerprint.beans.ui
 * @Descripton: TODO
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2014年11月4日 下午9:28:47
 * @Version: V1.0
 */
package net.hzlj.platform.enterprise.beans.ui;

import com.google.gson.annotations.SerializedName;

import net.hzlj.platform.enterprise.utils.EncoderUtils;

import java.io.Serializable;

/**
 * @ClassName: LocationBean
 * @Description: 获取当前位置
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2015-12-2 10:49:16
 */
public class LocationBean implements Serializable {

	private static final long serialVersionUID = 9102713140815660823L;

	// 纬度
	@SerializedName("la")
	private String latitude;

	//// 经度
	@SerializedName("lo")
	private String longitude;

	//电量
	@SerializedName("el")
	private String electric;

	//位置信息
	@SerializedName("p")
	private String position;

	//用户编号
	@SerializedName("id")
	private String id;

	@SerializedName("cid")
	private String commandId; //指令编号

	@SerializedName("t")
	private int type;   //指令类型(0：接收不响应（默认""），1：结果响应给来源)

	@SerializedName("m")
	private String message;//指令消息

	@SerializedName("d")
	private String time;//时间

	public LocationBean() {
	}

	public LocationBean(String id) {
		this.id = id;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getElectric() {
		return electric;
	}

	public void setElectric(String electric) {
		this.electric = electric;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCommandId() {
		return commandId;
	}

	public void setCommandId(String commandId) {
		this.commandId = commandId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "LocationBean{" +
				"latitude='" + latitude + '\'' +
				", longitude='" + longitude + '\'' +
				", electric='" + electric + '\'' +
				", position='" + position + '\'' +
				", id='" + id + '\'' +
				", commandId='" + commandId + '\'' +
				", type=" + type +
				", message='" + message + '\'' +
				", time='" + time + '\'' +
				'}';
	}
}
